//     示例

export default [
  // 获取模型列表
  {
    url: /\/admin-api\/business\/partyA\/page/,
    method: 'get',
    result(options) {
      return {
        code: 200,
        msg: '成功',
        data: {
          total: 100,
          list: [
            {
              id: '1',
              companyName: `济南港华热力公司`,
              phone: `1212121121`,
              address: `济南`,
              remark: `备注`,
            }
          ]
        }
      }
    }
  }, {
    url: /\/admin-api\/business\/partyA\/create/,
    method: 'post',
    result(options) {
      return {
        code: 200,
        msg: '成功',
      }
    }
  }, {
    url: /\/admin-api\/business\/partyA\/update/,
    method: 'post',
    result(options) {
      return {
        code: 200,
        msg: '成功',
      }
    }
  }, {
    url: /\/admin-api\/business\/partyA\/delete/,
    method: 'get',
    result(options) {
      return {
        code: 200,
        msg: '成功',
      }
    }
  },


  {
    url: /\/admin-api\/business\/partyA\/[0-9]$/,
    method: 'get',
    result(options) {
      return {
        code: 200,
        msg: '成功',
        data: {
          id: '1',
          companyName: `济南港华热力公司`,
          phone: `1212121121`,
          address: `济南`,
          remark: `备注`,
        }
      }
    }
  },
]
